package com.ysd.lis.controller.sys;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.HandelUserAuthParam;
import com.ysd.lis.service.SysUserAuthdifferService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户权限详情表
         前端控制器
 * </p>
 *
 * @author LiuQi
 * @since 2023-11-08
 */
@Api(tags = "获取用户差异信息")
@RestController
@RequestMapping("/api/sys/sysUserAuthDiffer")
public class SysUserAuthdifferController extends BaseController {

    @Autowired
    private SysUserAuthdifferService sysUserAuthdifferService;

    @ApiOperation("根据用户id查询角色差集信息")
    @PostMapping("/getDifferenceSetRoles")
    public Result getDifferenceSetRoles(@RequestBody HandelUserAuthParam handelUserAuthParam) {
        return sysUserAuthdifferService.getDifferenceSetRoles(handelUserAuthParam);
    }

}
